﻿<UserControl x:Class="CP.NLayer.Client.WpfClient.Modules.MainHeader.MainHeaderView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:common="clr-namespace:CP.NLayer.Client.WpfClient.Common;assembly=CP.NLayer.Client.WpfClient.Common"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="50" d:DesignWidth="500">
    <Grid Background="#E687CEFF">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBlock Text="This is MainHeaderRegion." FontSize="35" VerticalAlignment="Center" />
        <StackPanel Grid.Column="1" Orientation="Horizontal">
            <Button Content="{Binding FullName, Source={x:Static Member=common:GlobalObjects.CurrentUser}}" />
            <Button Content="Change User" />
        </StackPanel>
    </Grid>
</UserControl>
